<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link href="<?php echo base_url('application/public/bootstrap-3.3.5/css/bootstrap.min.css');?>" rel="stylesheet">
	<link href="<?php echo base_url('application/public/css/register.css');?>" rel="stylesheet"/>
	<title>登录</title>
</head>
<body>
<br/><br/>

<form class="form-horizontal" action="<?php echo base_url('uc/login');?>" method="post"">
<div class="form-group">
	<label for="username" class="col-sm-2 control-label">姓名 :</label>
	<div class="col-sm-10">
		<input type="text" class="form-control" id="username" name="username" placeholder="Username"/>
		<br/><span id="username_err"><?php echo form_error('username');?></span>
	</div>
</div>

<div class="form-group">
	<label for="pwd" class="col-sm-2 control-label">密码 :</label>
	<div class="col-sm-10">
		<input type="password" class="form-control" id="pwd" name="pwd" placeholder="Password"/>
		<br/><span id="pwd_err"><?php echo form_error('pwd');?></span>
	</div>
</div>

<div class="form-group">
	<div class="col-sm-offset-2 col-sm-10">
		<button type="submit" class="btn btn-default">登录</button> &nbsp;&nbsp;
		<a href="<?php echo base_url('uc/register')?>">注册</a>
	</div>
</div>
<div class="col-sm-offset-2 col-sm-10"><?php echo isset($error)?$error:'';?></div>
</body>

<script type="text/javascript" src="<?php echo base_url('application/public/bootstrap-3.3.5/js/jquery-2.1.4.min.js');?>"></script>
<script type="text/javascript" src="<?php echo base_url('application/public/bootstrap-3.3.5/js/bootstrap.min.js');?>"></script>

</html>